<!doctype html>



  


<html class="theme-next pisces use-motion">
<head>
  <meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>



<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />












  
  
  <link href="/vendors/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />




  
  
  
  

  
    
    
  

  

  

  

  

  
    
    
    <link href="//fonts.useso.com/css?family=Lato:300,300italic,400,400italic,700,700italic&subset=latin,latin-ext" rel="stylesheet" type="text/css">
  






<link href="/vendors/font-awesome/css/font-awesome.min.css?v=4.4.0" rel="stylesheet" type="text/css" />

<link href="/css/main.css?v=5.0.1" rel="stylesheet" type="text/css" />


  <meta name="keywords" content="敏捷,效率,持续集成,TDD,重构,简单设计,设计原则,编码标准,用户故事,需求分析,设计模式,面向对象,DDD,DCI,DSL,Hexo,NexT" />








  <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico?v=5.0.1" />






<meta name="description">
<meta property="og:type" content="website">
<meta property="og:title" content="黄勇的技术博客">
<meta property="og:url" content="http://www.huangyong.me/index.html">
<meta property="og:site_name" content="黄勇的技术博客">
<meta property="og:description">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="黄勇的技术博客">
<meta name="twitter:description">



<script type="text/javascript" id="hexo.configuration">
  var NexT = window.NexT || {};
  var CONFIG = {
    scheme: 'Pisces',
    sidebar: {"position":"left","display":"post"},
    fancybox: true,
    motion: true,
    duoshuo: {
      userId: 0,
      author: 'chinesequant'
    }
  };
</script>




  <title> 黄勇的技术博客 </title>
</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">

  


<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
            (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
          m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  ga('create', 'true', 'auto');
  ga('send', 'pageview');
</script>


  <script type="text/javascript">
    var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
      hm.src = "//hm.baidu.com/hm.js?bbe1068ce8d9f53dce8df78d0bbb209a";
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(hm, s);
    })();
  </script>








  
  
    
  

  <div class="container one-collumn sidebar-position-left 
   page-home 
 ">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-meta ">
  

  <div class="custom-logo-site-title">
    <a href="/"  class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <span class="site-title">黄勇的技术博客</span>
      <span class="logo-line-after"><i></i></span>
    </a>
  </div>
  <p class="site-subtitle">记录有趣的事情</p>
</div>

<div class="site-nav-toggle">
  <button>
    <span class="btn-bar"></span>
    <span class="btn-bar"></span>
    <span class="btn-bar"></span>
  </button>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br />
            
            首页
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/archives" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
            
            归档
          </a>
        </li>
      
        
        <li class="menu-item menu-item-tags">
          <a href="/tags" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-tags"></i> <br />
            
            标签
          </a>
        </li>
      

      
    </ul>
  

  
</nav>

 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            
  <section id="posts" class="posts-expand">
    
      

  
  

  
  
  

  <article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
            
            
              
                
                <a class="post-title-link" href="/2016/10/18/视觉引导资源/" itemprop="url">
                  视觉引导资源
                </a>
              
            
          </h1>
        

        <div class="post-meta">
          <span class="post-time">
            <span class="post-meta-item-icon">
              <i class="fa fa-calendar-o"></i>
            </span>
            <span class="post-meta-item-text">发表于</span>
            <time itemprop="dateCreated" datetime="2016-10-18T15:15:32+08:00" content="2016年10月18日">
              2016年10月18日
            </time>
          </span>

          

          
            
              <span class="post-comments-count">
                &nbsp; | &nbsp;
                <a href="/2016/10/18/视觉引导资源/#comments" itemprop="discussionUrl">
                  <span class="post-comments-count ds-thread-count" data-thread-key="2016/10/18/视觉引导资源/" itemprop="commentsCount"></span>
                </a>
              </span>
            
          

          

          
          

          
        </div>
      </header>
    


    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <embed src="http://player.youku.com/player.php/sid/XNjAxNTk0NTg4/v.swf" allowfullscreen="true" quality="high" width="620" height="400" align="middle" allowscriptaccess="always" type="application/x-shockwave-flash">

          
        
      
    </div>

    <div>
      
    </div>

    <div>
      
    </div>

    <footer class="post-footer">
      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </article>


    
      

  
  

  
  
  

  <article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
            
            
              
                
                <a class="post-title-link" href="/2016/09/29/StoryBoard/" itemprop="url">
                  StoryBoard
                </a>
              
            
          </h1>
        

        <div class="post-meta">
          <span class="post-time">
            <span class="post-meta-item-icon">
              <i class="fa fa-calendar-o"></i>
            </span>
            <span class="post-meta-item-text">发表于</span>
            <time itemprop="dateCreated" datetime="2016-09-29T01:01:24+08:00" content="2016年09月29日">
              2016年09月29日
            </time>
          </span>

          

          
            
              <span class="post-comments-count">
                &nbsp; | &nbsp;
                <a href="/2016/09/29/StoryBoard/#comments" itemprop="discussionUrl">
                  <span class="post-comments-count ds-thread-count" data-thread-key="2016/09/29/StoryBoard/" itemprop="commentsCount"></span>
                </a>
              </span>
            
          

          

          
          

          
        </div>
      </header>
    


    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <h2 id="什么是故事板">什么是故事板</h2><p>我们很多人都没拍过电影，甚至连简短的视频都没有制作过。但是在影视圈里流行“故事板”这样的小工具来分析导演将要制作的东西。故事板看起来是这样的：<br><img src="http://7xpa6t.com1.z0.glb.clouddn.com/5704d2e01b1bb8219f87861d33ecbf3e4f0febc1.jpg" alt=""></p>
<p>故事板其实就是一系列方格图，每格里记录一些图型、笔记、或者照片。这些信息记录了当前这个镜头中会发生一些什么？会说些什么？你可以把它想像成剧本的漫画版。</p>
<p>这样的方式很有趣也很有效，它至少有下面三个方面的优势：</p>
<h3 id="快速地与别人分享你的想法">快速地与别人分享你的想法</h3><p>可视化早就被证明是相对于文字和语言更有效的沟通方式。我们都这样的经历，当你说得口干舌燥时，别人依然不了解你的想法。俗话说耳听为虚，眼见为实，不是所有人都具有人文字到图像的想象能力，特别是具备不同知识背景的干系人。而当有了故事板这样的可视化的方法，你可以尽早地向别人解释清楚你的想法，将让他们理解。</p>
<h3 id="更早地产品化你的想法">更早地产品化你的想法</h3><p>使用故事板，你收集到的信息就不再是平面的枯燥的文本，而变得非常的立体，具备了很多内容以外的含义。当你有了一个包含了多个镜头的故事板后，可以对它进行度量、计划、估算成本，你可以以此来检查你是不是有什么遗漏的东西，你的编排是不是合理。｀</p>
<h3 id="节省大量的时间">节省大量的时间</h3><p>你化少量的时间来制作故事板，它在后期却会帮你节省大量的时间，不单是节省了你向别人解释的时间，更会使得后面的制作过程更加顺滑。</p>
<h2 id="如何来制作一个故事板呢？">如何来制作一个故事板呢？</h2><ol>
<li>创建一组空白的幻灯片<br>制作一组空白的区域，可以是任何方式。你可放到纸上，你可以画到白板上。这里有很多的<a href="https://www.sampletemplates.com/business-templates/free-storyboard-templates.html" target="_blank" rel="external">故事板模板</a><br>你可以把这些广场想象成电视里帧，每一帧里都有不同的场景或者视角。同时需要在方块下面留出书写说明的地方。</li>
<li>添加你的脚本<br>在每个广块的下方写下对话和将要发生的事件。整的来看，你的故事板看起来像一本漫画书，这样，让所有看到的人都能理解场景里将要发生什么。<br><img src="http://7xpa6t.com1.z0.glb.clouddn.com/what-is-a-storyboard-3.png" alt=""></li>
<li>画出你的故事<br>你可以用手工画出这些内容，如果你水平实在太差，可以用照片来替代。当然了，你不需要画出所有的细节，也不需要用专业的工具和彩笔。不要怕画得丑，丑也比不画强。提供足够的可视化信息来表达将要发生什么，什么样的角色出现在场景里以及这个场景大概的印象。而下面添加的注释用来补充剩下的细节。</li>
</ol>
<h2 id="记住下面的要点">记住下面的要点</h2><ul>
<li>展示而不是叙述。把故事板当成试金石，来验证你的故事是不是已经真正的可视化。</li>
<li>当成电影来做。把一个场景当成一个电影或一段视频，场景前场景后，场景中所有角色的交互，变化，都需要考虑到。</li>
<li>逻辑清晰、一气呵成。综合你的画图、照片、注释就可以拍成一段完整的视频。</li>
<li>提取一个主题。你创建的场景或镜头应该是有意义的，应该可以解决用户的一个痛点，显示一个完整的任务或功能，或者一段完整的经历、过程、旅程。</li>
<li>包含所有细节。把你的脚本细化成更小的粒度，标注上重要的信息。<ul>
<li>背景和相关的设置是什么样子的。</li>
<li>不是有角色在场景里，它在做什么。</li>
<li>有什么道具在场景里，它是不是适合在你设定的场景和设置中使用。</li>
<li>需要有什么的提示</li>
<li>你想释放什么样的信息</li>
</ul>
</li>
</ul>

          
        
      
    </div>

    <div>
      
    </div>

    <div>
      
    </div>

    <footer class="post-footer">
      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </article>


    
      

  
  

  
  
  

  <article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
            
            
              
                
                <a class="post-title-link" href="/2016/06/12/编程道场-Conway-Game/" itemprop="url">
                  编程道场:Conway Game
                </a>
              
            
          </h1>
        

        <div class="post-meta">
          <span class="post-time">
            <span class="post-meta-item-icon">
              <i class="fa fa-calendar-o"></i>
            </span>
            <span class="post-meta-item-text">发表于</span>
            <time itemprop="dateCreated" datetime="2016-06-12T22:32:00+08:00" content="2016年06月12日">
              2016年06月12日
            </time>
          </span>

          

          
            
              <span class="post-comments-count">
                &nbsp; | &nbsp;
                <a href="/2016/06/12/编程道场-Conway-Game/#comments" itemprop="discussionUrl">
                  <span class="post-comments-count ds-thread-count" data-thread-key="2016/06/12/编程道场-Conway-Game/" itemprop="commentsCount"></span>
                </a>
              </span>
            
          

          

          
          

          
        </div>
      </header>
    


    <div class="post-body" itemprop="articleBody">

      
      

      
        
          <h3 id="Code_Dojo:Conway_Game_Kata_by_python">Code Dojo:Conway Game Kata by python</h3><h3 id="使用TDD实现康威生命游戏">使用TDD实现康威生命游戏</h3><p><img src="http://7xpa6t.com1.z0.glb.clouddn.com/16-6-1/87882963.jpg" alt=""></p>
<h3 id="规则">规则</h3><hr>
<p><a href="https://zh.wikipedia.org/wiki/%E5%BA%B7%E5%A8%81%E7%94%9F%E5%91%BD%E6%B8%B8%E6%88%8F">康威生命游戏</a>是一个很有趣的编程道场练习题目，具体的规则如下：</p>
<p>生命游戏由二维的数组表示细胞生活的空间，每个细胞有两种状态-存活或死亡，每个细胞与以自身为中心的周围八格细胞产生互动。</p>
<ol>
<li>当前细胞为存活状态时，当周围低于2个（不包含2个）存活细胞时， 该细胞变成死亡状态。（模拟生命数量稀少）</li>
<li>当前细胞为存活状态时，当周围有2个或3个存活细胞时， 该细胞保持原样。</li>
<li>当前细胞为存活状态时，当周围有3个以上的存活细胞时，该细胞变成死亡状态。（模拟生命数量过多）</li>
<li>当前细胞为死亡状态时，当周围有3个存活细胞时，该细胞变成存活状态。 （模拟繁殖）</li>
</ol>
<p>可以把最初的细胞结构定义为种子，当所有在种子中的细胞同时被以上规则处理后, 可以得到第一代细胞图。按规则继续处理当前的细胞图，可以得到下一代的细胞图，周而复始。</p>
          <div class="post-more-link text-center">
            <a class="btn" href="/2016/06/12/编程道场-Conway-Game/#more" rel="contents">
              阅读全文 &raquo;
            </a>
          </div>
        
      
    </div>

    <div>
      
    </div>

    <div>
      
    </div>

    <footer class="post-footer">
      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </article>


    
      

  
  

  
  
  

  <article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
            
            
              
                
                <a class="post-title-link" href="/2016/05/23/CodeDojo-FizzBuzz/" itemprop="url">
                  编程道场:FizzBuzz
                </a>
              
            
          </h1>
        

        <div class="post-meta">
          <span class="post-time">
            <span class="post-meta-item-icon">
              <i class="fa fa-calendar-o"></i>
            </span>
            <span class="post-meta-item-text">发表于</span>
            <time itemprop="dateCreated" datetime="2016-05-23T13:28:00+08:00" content="2016年05月23日">
              2016年05月23日
            </time>
          </span>

          

          
            
              <span class="post-comments-count">
                &nbsp; | &nbsp;
                <a href="/2016/05/23/CodeDojo-FizzBuzz/#comments" itemprop="discussionUrl">
                  <span class="post-comments-count ds-thread-count" data-thread-key="2016/05/23/CodeDojo-FizzBuzz/" itemprop="commentsCount"></span>
                </a>
              </span>
            
          

          

          
          

          
        </div>
      </header>
    


    <div class="post-body" itemprop="articleBody">

      
      

      
        
          <h3 id="Code_Dojo:FizzBuzz_Kata_by_python">Code Dojo:FizzBuzz Kata by python</h3><h3 id="使用TDD解决FizzBuzz问题">使用TDD解决FizzBuzz问题</h3><p><img src="http://7xpa6t.com1.z0.glb.clouddn.com/16-6-1/87882963.jpg" alt=""></p>
<p>　　这是和一群小伙伴玩编程道场，练习一个TDD的KATA时的小题目，这样的形式很有意思，大家的关注力从头到尾都很集中。</p>
<blockquote>
<p>问题描述：<br>小朋友玩的一个有意思的游戏，每个人按顺序报数，如果遇到３或者３的倍数则喊：“Fizz”，如果遇到５或者５的倍数则喊：“Buzz”，如果３和５的公倍数则喊：“Fizz Buzz”</p>
</blockquote>
          <div class="post-more-link text-center">
            <a class="btn" href="/2016/05/23/CodeDojo-FizzBuzz/#more" rel="contents">
              阅读全文 &raquo;
            </a>
          </div>
        
      
    </div>

    <div>
      
    </div>

    <div>
      
    </div>

    <footer class="post-footer">
      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </article>


    
      

  
  

  
  
  

  <article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
            
            
              
                
                <a class="post-title-link" href="/2016/05/19/九宫格访谈/" itemprop="url">
                  九宫格访谈
                </a>
              
            
          </h1>
        

        <div class="post-meta">
          <span class="post-time">
            <span class="post-meta-item-icon">
              <i class="fa fa-calendar-o"></i>
            </span>
            <span class="post-meta-item-text">发表于</span>
            <time itemprop="dateCreated" datetime="2016-05-19T10:38:00+08:00" content="2016年05月19日">
              2016年05月19日
            </time>
          </span>

          

          
            
              <span class="post-comments-count">
                &nbsp; | &nbsp;
                <a href="/2016/05/19/九宫格访谈/#comments" itemprop="discussionUrl">
                  <span class="post-comments-count ds-thread-count" data-thread-key="2016/05/19/九宫格访谈/" itemprop="commentsCount"></span>
                </a>
              </span>
            
          

          

          
          

          
        </div>
      </header>
    


    <div class="post-body" itemprop="articleBody">

      
      

      
        
          <h3 id="什么是九宫格访谈">什么是九宫格访谈</h3><p>　　需求收集最基本的工具是对项目干系人的访谈，如何提问是一个非常有技巧的事情，介于聊天搭讪和警方询问之间。如何既让对方感兴趣，敝开心菲，倾其所知又要步步为据，言之有物，杜绝镀金与漫延。<br>　　九宫格访谈是一种提问技术，它可以帮助我们揭示被访谈者和他们所在的组织存在的问题和面临的机遇。通过九宫格访谈技巧，提问者可以挖掘出更深层次的需求和验收验收标准，一方面，通过这种渐进式的访谈方式，会让被访谈者感觉到提问者真正地理解了他们的处境，另一方面，提问者也会给自己一个承诺可以解决真正的问题。这个工具特别适合在项目开始的时候应用，会起到很好的作用。</p>
          <div class="post-more-link text-center">
            <a class="btn" href="/2016/05/19/九宫格访谈/#more" rel="contents">
              阅读全文 &raquo;
            </a>
          </div>
        
      
    </div>

    <div>
      
    </div>

    <div>
      
    </div>

    <footer class="post-footer">
      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </article>


    
      

  
  

  
  
  

  <article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
            
            
              
                
                <a class="post-title-link" href="/2016/05/18/重构遗留系统/" itemprop="url">
                  重构遗留系统
                </a>
              
            
          </h1>
        

        <div class="post-meta">
          <span class="post-time">
            <span class="post-meta-item-icon">
              <i class="fa fa-calendar-o"></i>
            </span>
            <span class="post-meta-item-text">发表于</span>
            <time itemprop="dateCreated" datetime="2016-05-18T16:37:00+08:00" content="2016年05月18日">
              2016年05月18日
            </time>
          </span>

          

          
            
              <span class="post-comments-count">
                &nbsp; | &nbsp;
                <a href="/2016/05/18/重构遗留系统/#comments" itemprop="discussionUrl">
                  <span class="post-comments-count ds-thread-count" data-thread-key="2016/05/18/重构遗留系统/" itemprop="commentsCount"></span>
                </a>
              </span>
            
          

          

          
          

          
        </div>
      </header>
    


    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <p><img src="http://7xpa6t.com1.z0.glb.clouddn.com/refactor_cat.gif" alt="image"></p>

          
        
      
    </div>

    <div>
      
    </div>

    <div>
      
    </div>

    <footer class="post-footer">
      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </article>


    
      

  
  

  
  
  

  <article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
            
            
              
                
                <a class="post-title-link" href="/2015/12/20/google-python-style-guide/" itemprop="url">
                  代码规范
                </a>
              
            
          </h1>
        

        <div class="post-meta">
          <span class="post-time">
            <span class="post-meta-item-icon">
              <i class="fa fa-calendar-o"></i>
            </span>
            <span class="post-meta-item-text">发表于</span>
            <time itemprop="dateCreated" datetime="2015-12-20T18:26:02+08:00" content="2015年12月20日">
              2015年12月20日
            </time>
          </span>

          

          
            
              <span class="post-comments-count">
                &nbsp; | &nbsp;
                <a href="/2015/12/20/google-python-style-guide/#comments" itemprop="discussionUrl">
                  <span class="post-comments-count ds-thread-count" data-thread-key="2015/12/20/google-python-style-guide/" itemprop="commentsCount"></span>
                </a>
              </span>
            
          

          

          
          

          
        </div>
      </header>
    


    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <h1 id="Python代码规范">Python代码规范</h1><hr>
<p><a href="http://zh-google-styleguide.readthedocs.org/en/latest/google-python-styleguide/python_language_rules/" target="_blank" rel="external">谷歌Python语言编码规范</a><br><a href="https://google.github.io/styleguide/pyguide.html" target="_blank" rel="external">Google Python Code Style Guide</a></p>
<h1 id="Java_代码规范">Java 代码规范</h1><p><a href="https://google.github.io/styleguide/javaguide.html" target="_blank" rel="external">Google Java Code Style Guid</a></p>
<h1 id="C++_代码规范">C++ 代码规范</h1><p><a href="http://zh-google-styleguide.readthedocs.org/en/latest/google-cpp-styleguide/" target="_blank" rel="external">谷歌C++语言代码规范</a><br><a href="https://google.github.io/styleguide/cppguide.html" target="_blank" rel="external">Google Cpp Code Style Guid</a></p>

          
        
      
    </div>

    <div>
      
    </div>

    <div>
      
    </div>

    <footer class="post-footer">
      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </article>


    
      

  
  

  
  
  

  <article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
            
            
              
                
                <a class="post-title-link" href="/2015/12/16/four-principles-of-simple-design/" itemprop="url">
                  简单设计四原则
                </a>
              
            
          </h1>
        

        <div class="post-meta">
          <span class="post-time">
            <span class="post-meta-item-icon">
              <i class="fa fa-calendar-o"></i>
            </span>
            <span class="post-meta-item-text">发表于</span>
            <time itemprop="dateCreated" datetime="2015-12-16T23:15:13+08:00" content="2015年12月16日">
              2015年12月16日
            </time>
          </span>

          

          
            
              <span class="post-comments-count">
                &nbsp; | &nbsp;
                <a href="/2015/12/16/four-principles-of-simple-design/#comments" itemprop="discussionUrl">
                  <span class="post-comments-count ds-thread-count" data-thread-key="2015/12/16/four-principles-of-simple-design/" itemprop="commentsCount"></span>
                </a>
              </span>
            
          

          

          
          

          
        </div>
      </header>
    


    <div class="post-body" itemprop="articleBody">

      
      

      
        
          <p>极限编程核心实践圈由TDD、重构、结对编程和简单设计组成。TDD是核心实践，但简单设计却贯穿了其它三个实践当中。甚至在整个敏捷当中，简单设计、简单都是一个贯穿的思维。它提示人们承认人类大脑的功能极限，承认人力的不足，转而通过复杂简单的劳动来达成伟大的目标；而不是投入更大的精力去计划和设计更加复杂、精巧、机密、巨大的设计。大道至简，简单是所有美好设计的开始。世界上有两种代码没有bug：一种是足够简单，一眼就能看出没有bug；另一种是足够复杂，复杂到看不出有bug。<br><img src="http://7xpa6t.com1.z0.glb.clouddn.com/16-6-27/11317466.jpg" alt=""></p>
<p><img src="http://7xpa6t.com1.z0.glb.clouddn.com/15-12-17/74941405.jpg" alt="image"><br><strong>简单</strong>是极限编程原则里面重要一个组成部分，简单设计也被证实是成熟的设计原则，成为浮现式设计、演进式设计的理论基石。</p>
<p><strong>简单</strong>在《解析极限编程》里明确的四大原则：</p>
<ul>
<li>Passes the tests</li>
<li>Reveals intention</li>
<li>No duplication</li>
<li>Fewest elements</li>
</ul>
          <div class="post-more-link text-center">
            <a class="btn" href="/2015/12/16/four-principles-of-simple-design/#more" rel="contents">
              阅读全文 &raquo;
            </a>
          </div>
        
      
    </div>

    <div>
      
    </div>

    <div>
      
    </div>

    <footer class="post-footer">
      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </article>


    
      

  
  

  
  
  

  <article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
            
            
              
                
                <a class="post-title-link" href="/2015/12/16/scrum-lego-game/" itemprop="url">
                  scrum_lego_game
                </a>
              
            
          </h1>
        

        <div class="post-meta">
          <span class="post-time">
            <span class="post-meta-item-icon">
              <i class="fa fa-calendar-o"></i>
            </span>
            <span class="post-meta-item-text">发表于</span>
            <time itemprop="dateCreated" datetime="2015-12-16T23:06:31+08:00" content="2015年12月16日">
              2015年12月16日
            </time>
          </span>

          

          
            
              <span class="post-comments-count">
                &nbsp; | &nbsp;
                <a href="/2015/12/16/scrum-lego-game/#comments" itemprop="discussionUrl">
                  <span class="post-comments-count ds-thread-count" data-thread-key="2015/12/16/scrum-lego-game/" itemprop="commentsCount"></span>
                </a>
              </span>
            
          

          

          
          

          
        </div>
      </header>
    


    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            
          
        
      
    </div>

    <div>
      
    </div>

    <div>
      
    </div>

    <footer class="post-footer">
      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </article>


    
      

  
  

  
  
  

  <article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
            
            
              
                
                <a class="post-title-link" href="/2015/12/10/code-review-checklist/" itemprop="url">
                  代码评审清单
                </a>
              
            
          </h1>
        

        <div class="post-meta">
          <span class="post-time">
            <span class="post-meta-item-icon">
              <i class="fa fa-calendar-o"></i>
            </span>
            <span class="post-meta-item-text">发表于</span>
            <time itemprop="dateCreated" datetime="2015-12-10T09:51:17+08:00" content="2015年12月10日">
              2015年12月10日
            </time>
          </span>

          

          
            
              <span class="post-comments-count">
                &nbsp; | &nbsp;
                <a href="/2015/12/10/code-review-checklist/#comments" itemprop="discussionUrl">
                  <span class="post-comments-count ds-thread-count" data-thread-key="2015/12/10/code-review-checklist/" itemprop="commentsCount"></span>
                </a>
              </span>
            
          

          

          
          

          
        </div>
      </header>
    


    <div class="post-body" itemprop="articleBody">

      
      

      
        
          <p><img src="http://7xpa6t.com1.z0.glb.clouddn.com/15-12-17/47755891.jpg" alt="image"></p>
<h2 id="一个典型的代码评审清单">一个典型的代码评审清单</h2><p>这是一个小级别的检查清单，可以用在结对和类级别的代码评审上。</p>
          <div class="post-more-link text-center">
            <a class="btn" href="/2015/12/10/code-review-checklist/#more" rel="contents">
              阅读全文 &raquo;
            </a>
          </div>
        
      
    </div>

    <div>
      
    </div>

    <div>
      
    </div>

    <footer class="post-footer">
      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </article>


    
  </section>

  
  <nav class="pagination">
    <span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="extend next" rel="next" href="/page/2/"><i class="fa fa-angle-right"></i></a>
  </nav>



          </div>
          


          

        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    <div class="sidebar-inner">

      

      

      <section class="site-overview sidebar-panel  sidebar-panel-active ">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
          <img class="site-author-image" itemprop="image"
               src="http://ww4.sinaimg.cn/mw690/7ecfc119jw8et76rgrm1kj20k00k00vi.jpg"
               alt="tony" />
          <p class="site-author-name" itemprop="name">tony</p>
          <p class="site-description motion-element" itemprop="description"></p>
        </div>
        <nav class="site-state motion-element">
          <div class="site-state-item site-state-posts">
            <a href="/archives">
              <span class="site-state-item-count">14</span>
              <span class="site-state-item-name">日志</span>
            </a>
          </div>

          
            <div class="site-state-item site-state-categories">
              
                <span class="site-state-item-count">1</span>
                <span class="site-state-item-name">分类</span>
              
            </div>
          

          
            <div class="site-state-item site-state-tags">
              <a href="/tags">
                <span class="site-state-item-count">35</span>
                <span class="site-state-item-name">标签</span>
              </a>
            </div>
          

        </nav>

        

        <div class="links-of-author motion-element">
          
            
              <span class="links-of-author-item">
                <a href="https://github.com/Tony-Wang" target="_blank" title="github">
                  
                    <i class="fa fa-fw fa-github"></i>
                  
                  github
                </a>
              </span>
            
              <span class="links-of-author-item">
                <a href="http://weibo.com/u/2127544601" target="_blank" title="微博">
                  
                    <i class="fa fa-fw fa-weibo"></i>
                  
                  微博
                </a>
              </span>
            
              <span class="links-of-author-item">
                <a href="http://www.zhihu.com/people/huangyong.me" target="_blank" title="知乎">
                  
                    <i class="fa fa-fw fa-paper-plane"></i>
                  
                  知乎
                </a>
              </span>
            
              <span class="links-of-author-item">
                <a href="mailto:tony@huangyong.me" target="_blank" title="mail">
                  
                    <i class="fa fa-fw fa-envelope-o"></i>
                  
                  mail
                </a>
              </span>
            
          
        </div>

        
        

        
        

      </section>

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright" >
  
  &copy; 
  <span itemprop="copyrightYear">2017</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">tony</span>
</div>

<div class="powered-by">
  由 <a class="theme-link" href="http://hexo.io">Hexo</a> 强力驱动
</div>

<div class="theme-info">
  主题 -
  <a class="theme-link" href="https://github.com/iissnan/hexo-theme-next">
    NexT.Pisces
  </a>
</div>

        

        
      </div>
    </footer>

    <div class="back-to-top">
      <i class="fa fa-arrow-up"></i>
    </div>
  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  



  
  <script type="text/javascript" src="/vendors/jquery/index.js?v=2.1.3"></script>

  
  <script type="text/javascript" src="/vendors/fastclick/lib/fastclick.min.js?v=1.0.6"></script>

  
  <script type="text/javascript" src="/vendors/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>

  
  <script type="text/javascript" src="/vendors/velocity/velocity.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/vendors/velocity/velocity.ui.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/vendors/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>


  


  <script type="text/javascript" src="/js/src/utils.js?v=5.0.1"></script>

  <script type="text/javascript" src="/js/src/motion.js?v=5.0.1"></script>



  
  


  <script type="text/javascript" src="/js/src/affix.js?v=5.0.1"></script>

  <script type="text/javascript" src="/js/src/schemes/pisces.js?v=5.0.1"></script>



  

  


  <script type="text/javascript" src="/js/src/bootstrap.js?v=5.0.1"></script>



  

  
    
  

  <script type="text/javascript">
    var duoshuoQuery = {short_name:"chinesequant"};
    (function() {
      var ds = document.createElement('script');
      ds.type = 'text/javascript';ds.async = true;
      ds.id = 'duoshuo-script';
      ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
      ds.charset = 'UTF-8';
      (document.getElementsByTagName('head')[0]
      || document.getElementsByTagName('body')[0]).appendChild(ds);
    })();
  </script>

  
    
      
      <script src="/vendors/ua-parser-js/dist/ua-parser.min.js?v=0.7.9"></script>
      <script src="/js/src/hook-duoshuo.js"></script>
    
  






  
  
  

  

  
<script type="text/javascript" async src="//push.zhanzhang.baidu.com/push.js">
</script>


</body>
</html>
